home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload Trio 2 / Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO / dir34 / flpcpy11.zip / FLPYCOPY.TXT < prev   
Text File  |  1993-10-10  |  14KB  |  305 lines

  1.  
  2. FLPYCOPY.EXE - Version 1.1 - (c)1992
  3.  
  4. A Floppy Disk Copy Utility by Barry Pearlman
  5.  
  6. 1229 Traverton Drive
  7. Chesterfield, MO  63017
  8.  
  9. 314-532-8022
  10. CompuServe 70304,3450
  11.  
  12.  
  13. DESCRIPTION:
  14.  
  15. FLPYCOPY.EXE is a stand-alone utility written to duplicate floppy disks and 
  16. eliminate the "DOS shuffle".  The program creates a holding file in the root 
  17. directory of C: drive, reads the floppy disk to be copied, and writes the 
  18. contents of the source floppy disk to the holding file, creating a contiguous 
  19. file containing the source disk's contents.  This duplication is done on a 
  20. track by track, head by head basis.
  21.  
  22. FLPYCOPY.EXE will process 5 1/4" & 3 1/2" disks of 360K, 1.2M, 720K, & 1.4M 
  23. capacity only.  All other disks will yield an error message.
  24.  
  25. After the target floppy disk (the disk to receive the copy) has been inserted, 
  26. the program then transfers the contents of the holding file to the target 
  27. disk, again on a track by track, head by head basis, producing an exact copy.
  28.  
  29. As an option, the program will format disks as it writes to them, and can make 
  30. multiple copies without having to re-insert the source disk between copies.  
  31. Options also exist for verification after each read/write operation.  Upon 
  32. exit, the program will remove the holding file from the hard drive.
  33.  
  34. FLPYCOPY.EXE runs in color on EGA/VGA monitors and initially checks for video 
  35. display types.  If it does not find the proper adapter, it will switch to 
  36. monochrome display.  Disk size determination is automatic.
  37.  
  38. All of the hardware operations utilize DOS interrupts and consequently, the 
  39. program is independent of DOS version and machine hardware variations.
  40.  
  41. The program has been tested on a cross section, but by no means all hardware 
  42. and operating system variations available.  To date, no known hardware or 
  43. software incompatibilities exist, however, the author of this program must in 
  44. good conscience suggest that since this program works with hardware 
  45. interrupts, that your system be fully backed up prior to using this program 
  46. for the first time.
  47.  
  48. Should a "bug" be discovered, please communicate as many details as possible 
  49. to the author.  The author will try to determine the problem and fix it.  The 
  50. author, however, will accept no liability for the use of this program, nor 
  51. will he be responsible in the event of lost or corrupted data.
  52.  
  53.  
  54. DISTRIBUTION:
  55.  
  56. FLPYCOPY.EXE is copyright protected software.  This version of the executable 
  57. program is being distributed as "FREEWARE" and may be freely copied by 
  58. permission of the author providing that the following conditions are strictly 
  59. adhered to:
  60.  
  61. 1.  The program and its supporting documentation (this document) may be 
  62. distributed for a small fee, that fee being enough to cover the cost of 
  63. duplication and distribution only!
  64.  
  65. 2.  This document must accompany the executable file.
  66.  
  67. 3.  FLPYCOPY.EXE may not be incorporated into any other program, executable or 
  68. otherwise, that is being distributed under any other method other that as 
  69. outlined in number 1 above.
  70.  
  71. Page 1
  72.  
  73.  
  74. 4.  Any violation of 1. 2, or 3 above shall automatically revoke the
  75. permission of the author to distribute this program, and shall place the 
  76. offender in jeopardy of violation of the copyright laws.
  77.  
  78. Registration is not required, however, it is encouraged.  By communicating 
  79. your name and address to the author, you will be advised of any future 
  80. updates, improvements, or fixes.  Your suggestions and comments will also be 
  81. greatly appreciated, along with any and all ideas for additional features or 
  82. additions.
  83.  
  84.  
  85. PROGRAM CODE:
  86.  
  87. FLPYCOPY.EXE was written, compiled, and linked entirely in Microsoft C, 
  88. Version 6.0., to produce a stand-alone executable file.
  89.  
  90. A copy of the source code on disk may be purchased from the author for a fee 
  91. of $25.00.  Purchase of the source code shall allow the purchaser to 
  92. incorporate all or part of the source code into other programs.
  93.  
  94. ACKNOWLEDGEMENTS:
  95.  
  96. The author would like to thank Stephen D. Cooper and Ken Hipple for their work 
  97. on the programs 2FILE.EXE and 2FLOPPY.EXE. published by Ziff Communications 
  98. Co., PC Magazine, which was the inspiration for writing this program.
  99.  
  100. OPERATION:
  101.  
  102. FLPYCOPY.EXE is a simple utility to operate.  Upon execution, the main (and 
  103. only) screen will appear and ask the user to "ENTER FLOPPY DISK COPY 
  104. SPECIFICATIONS".  Pressing CR will accept the displayed defaults;  the Up and 
  105. Down arrow keys move the selection pointer.  F1 will display Help information 
  106. about the specification adjacent to the selection pointer.  The specification 
  107. choices are as follows:
  108.  
  109. Disk Drive Letter:  This is the floppy drive in which the copy or verify is to 
  110. take place.  The SPACEBAR toggles between A: and B:.  If a B: drive does not 
  111. exist but is selected, an error message will be displayed.  See the section on 
  112. error messages.
  113.  
  114. Verify After Read:  Selecting [Y]es will cause the program to re-read the disk 
  115. and compare it, on a track by track, head by head basis against the hold file 
  116. created in the root directory of C:.  Selecting [N]o will bypass this step.
  117.  
  118. Verify After Copy:  Selecting [Y]es will cause the program to re-read the hold 
  119. file and compare it, on a track by track, head by head basis against the 
  120. target disk copy.  Selecting [N]o will bypass this step.
  121.  
  122. Format Target Disk:  The default [Auto] selection will check the target disk 
  123. prior to writing.  If the disk is formatted and is of the proper size, the 
  124. program will write to the target disk without formatting it.  If the program 
  125. senses that the disk is not formatted, it will format a track, then write a 
  126. track, then format a track, etc.
  127.  
  128. [O]n causes the program to format the target disk all of the time.
  129.  
  130. [O]ff turns off the format feature.
  131.  
  132.  
  133. Page 2
  134.  
  135.  
  136. NOTE:  Attempting to format a high density disk at low density will produce a 
  137. low density disk.  Attempting to format a low density disk at high density may 
  138. produce an error, or at best, a diskette with reduced reliability.  Should an 
  139. attempt be made to format a low density disk at high density, it may fail and
  140. produce an error message.
  141.  
  142. If this happens, the disk may be recovered with any of the commercial disk 
  143. recovery utilities such as The Norton Utilities Disk Tools program.
  144.  
  145. Toggle your selection with the SPACEBAR.
  146.  
  147. Audible Alarm Signals:  [Y]es turns on the alarm and prompt signals.  [N]o 
  148. turns them off.
  149.  
  150. Verify Only - NO COPY:  [Y]es does a track by track, head by head verify 
  151. between a source and a target(s) disk.  The program does not write to the disk 
  152. during this operation.  This will override the copy function.
  153.  
  154. [N]o turns this feature off.
  155.  
  156. Quantity (999 max.):  Determines the number of disks to be copied or verified 
  157. from a single source disk.  Pressing the + key will cause the number to 
  158. increment upwards.  Holding the + key down for approximately two seconds will 
  159. cause the numbers to then start incrementing by a factor of 10.
  160.  
  161. The - key works the same way, only it decrements the quantity.
  162.  
  163.  
  164. OPERATION:
  165.  
  166. Once the specifications have been selected, [CR] will accept the 
  167. specifications and start the copy/verify process.  [ESC] will clear the 
  168. selected specifications and display the default settings.  [Q] will exit the 
  169. program.
  170.  
  171. Once the program has been started, it makes several system and hardware checks 
  172. and if no errors are found, will display the information on the right side of 
  173. the screen.
  174.  
  175. = Total Disk Tracks:  Indicates the total number of disk tracks to be 
  176. processed.
  177.  
  178. = Total Disk Sectors:  Indicates the total number of sectors per track to be 
  179. processed.
  180.  
  181. = Total Disk Capacity:  Indicates the generic size of the disk being 
  182. processed.  To eliminate format errors, use this to determine the correct 
  183. target disk size while reading the source disk.
  184.  
  185. = Current Disk Track:  Indicates the current track being processed.  Please 
  186. note that tracks are numbered starting from 0.
  187.  
  188. = Current Disk Head:  Indicates the current head being processed.  Please note 
  189. that like tracks, heads are numbered starting from 0.
  190.  
  191. = Current Operation:  Will indicate Wait, Read, Write, or Format, depending on 
  192. the current operation in progress.
  193.  
  194.  
  195. Page 3
  196.  
  197.  
  198. = Disk # In Process:  Indicates "Source" if the program is processing the 
  199. source disk, or the number of the target disk being processed if a target disk 
  200. operation is being performed.
  201.  
  202. Completed Display:  The moving bar graphic and % completed indicate how much 
  203. ofthe disk has been processed during the current operation.
  204.  
  205. Note:  If during the processing of either the source or target disks you elect 
  206. to stop the process, the [ESC] key will abort the program and return you to a 
  207. standby condition.  Processing will abort ONLY between the processing of 
  208. tracks, as opposed to in the middle of a track, allowing the program to 
  209. complete its operation on that particular track.  Since the program processes 
  210. track X, head 0 then head 1, a momentary delay may be observed after pressing 
  211. the [ESC] key.  This is normal.
  212.  
  213. When the program has read and stored the information on the source disk, it 
  214. will prompt you to insert the target disk.  At this point in time, you may 
  215. continue, restart, or exit the program.
  216.  
  217. FLPYCOPY.EXE creates a holding file, called FLPYCOPY.HLD in the root directory 
  218. of C: drive for use as the temporary holding file.  If sufficient room does 
  219. not exist on the drive, an error message will be displayed.  Since any file 
  220. kept on any disk does have the remote chance of being corrupted, FLPYCOPY.EXE 
  221. does not keep this file when it is finished and will automatically delete it.
  222.  
  223. Rules for good system management dictate that duplicate copies of all 
  224. important files should be kept off site in a safe place, and that practice is 
  225. highly recommended.
  226.  
  227.  
  228. ERROR MESSAGES:
  229.  
  230. SPECIFIED FLOPPY DRIVE IS NOT READY - The door to the drive is not closed 
  231. properly, or some other hardware problem is preventing the program from 
  232. reading the disk.
  233.  
  234. ERROR READING SOURCE FLOPPY DISK - POSSIBLE UNFORMATTED DISK - The program 
  235. cannot determine the size of the floppy disk.  Either the disk is not of a 
  236. standard size, or it is unformatted.
  237.  
  238. FLOPPY DRIVE WRITE PROTECTED - An attempt was made to write to a disk that is 
  239. write protected.  Correct the situation and proceed.
  240.  
  241. UNABLE TO READ SECTOR OR BAD SECTOR FLAG - The disk drive is having trouble 
  242. finding the sector header information.  This may be caused by a defective or 
  243. corrupted floppy disk.  Try formatting the disk with the Format [O]n, use a 
  244. commercial program to revive the diskette, or discard it and try another.
  245.  
  246. FLOPPY DISK ERROR - POSSIBLE BAD BLOCK - The floppy disk may have a sector or 
  247. several sectors marked bad.  This is unusual for normal disks, however, it is 
  248. not uncommon as a copy protection scheme.  This disk cannot be copied or 
  249. verified by this version of the program.
  250.  
  251. FLOPPY DISK ERROR - POSSIBLE ATTEMPT TO FORMAT WRONG SIZE DISK - An attempt 
  252. was made to format a low density disk as high density.  The diskette may be 
  253. salvaged by the use of one of the commercial disk recovery programs.
  254.  
  255. A MISCELLANEOUS FLOPPY DISK ERROR HAS OCCURRED - An error was detected by the 
  256. program that does not fall into any of the categories listed above.
  257.  
  258. Page 4
  259.  
  260.  
  261. INSUFFICIENT AVAILABLE SPACE ON DRIVE C: TO CREATE TEMPORARY HOLDING FILE - 
  262. The program has calculated the amount of space needed to create the temporary 
  263. holding file and has checked the available free space on C: drive.  There is 
  264. not enough free space left.  Exit the program, free up some space, and try 
  265. again.
  266.  
  267. CANNOT FIND B: DRIVE INSTALLED - The program has checked the ROM setup files 
  268. and cannot find B: drive.
  269.  
  270. UNABLE TO CREATE TEMPORARY BUFFER IN MEMORY! - The program must open a buffer 
  271. (two if verification is enabled) in memory equal to the size of the number of 
  272. sectors on a track X 512 for temporary storage and was unable to do so.
  273.  
  274. UNABLE TO OPEN OR CLOSE TEMPORARY HOLD FILE ON DRIVE C: - The program was 
  275. unable to open or create the temporary hold file in the root directory of C:.
  276.  
  277. AN ERROR OCCURRED WHILE TRYING TO READ OR WRITE TO DRIVE C: - Self 
  278. explanatory.
  279.  
  280. TARGET DISK NOT EQUAL IN SIZE TO SOURCE DISK - The program has calculated the 
  281. formatted size of the target disk and it is not the same as the source disk.  
  282. Remove the target disk and insert one of the proper size.
  283.  
  284. VERIFICATION ERROR ENCOUNTERED - The program attempted to verify data and 
  285. failed.  Either the disks are not the same or an error occurred during the 
  286. copy process.
  287.  
  288. DISK FORMAT ERROR ENCOUNTERED - The program was unable to format the target 
  289. disk.  The most common cause of this error is an attempt to format a low 
  290. density disk as a high density disk.
  291.  
  292. UNKNOWN DISK FORMAT ENCOUNTERED - The program will only copy 360K or 1.2M 5 
  293. 1/4" diskettes and 720K or 1.4M 3 1/2" diskettes.  Some other format has been 
  294. encountered.
  295.  
  296. ROM Bios May Not Support Formatting.  See Instructions - The program has 
  297. checked the ROM Bios and determined that it has a date prior to 10/1/86.  
  298. Machines produced prior to this may or may not support formatting with machine 
  299. interrupts such as this program uses.  You may proceed and attempt to format 
  300. the disk, however, it is strongly suggested that you check the disk after 
  301. using the program.
  302.  
  303. If the program cannot format and write, format the disks first using your 
  304. normal method and then switch the formatting specification to [N]o.
  305.